//ybzuo
//car set test
#pragma once
#include <string>
#include "arg_seter.h"
class IDirect3DCubeTexture9 ;
class d3d_texture_manager ;

class car_seter:public arg_seter
{
public:
    car_seter(shader_manager* mgr, const std::string& cubename);
    ~car_seter();
    void set_args(LTEffectShader *pEffect,const LTShaderDeviceState &ShaderDeviceState);
    void set_light_pos(const LTVector& _pos, float factor, float radius) ;
    void set_light_factor(float factor) { m_factor = factor ;}
	void set_tail_color(float _r=0.0f,float _g=0.0f,float _b=0.0f);
  
private:
    float m_light_pos[4];
    float m_factor ;
    float m_radius ;
    IDirect3DCubeTexture9* m_cube ;
    std::string m_cubemap_name ;
	float m_tail_color[4];
    d3d_texture_manager* m_tex_mgr ;
    

};
